Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) Hide Old Threads (Read 14105 times)
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: Hide Old Threads
Reply #4 - Jun 22nd, 2014 at 2:41pm
Print Post  
I have switched to English, the same. It says nothing.
  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Hide Old Threads
Reply #3 - Jun 22nd, 2014 at 2:31pm
Print Post  
Um, Are you sure you installed your German mod?  Wink (Because they both installed fine on my testboard.)

New zip in the first post.
  

screenshot-localhost_2014-06-22_07-38-54.png (Attachment deleted | 37 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: Hide Old Threads
Reply #2 - Jun 22nd, 2014 at 1:49pm
Print Post  
Uppppsssss!!!!!

A empty window?
As yet, what should be written.
  

Bild2_002.jpg (Attachment deleted | 37 Downloads )

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: Hide Old Threads
Reply #1 - Jun 22nd, 2014 at 1:00pm
Print Post  
Code
Select All
<edit file>
Languages/German/Admin.lng
</edit file>

<search for>
);

%floodtxt = (
</search for>

<add before>
'chopthread' => 'Verstecke alte Themen',
'chopthread2' => '<br />Um nur die aktiven Beiträge, die neuer sind als XXX Tage anzuzeigen, geben Sie hier einen Wert ein.<br />0 (Null) für keine Beschränkung.<br /><b>Note: Standardwert für neue Foren = 0</b>',
</add before>

<edit file>
Languages/German/MessageIndex.lng
</edit file>

<search for>
);

%messageindex_sort = (
</search for>

<add before>
'chopshow' => 'Zeige alle Themen',
'chop' => q~Zeige letzte aktive Themen~,
'choptitle' => 'Nicht mehr als {yabb chopdays} Tage alt',
</add before> 



Code
Select All
<edit file>
Languages/German_Du/Admin.lng
</edit file>

<search for>
);

%floodtxt = (
</search for>

<add before>
'chopthread' => 'Verstecke alte Themen',
'chopthread2' => '<br />Um nur die aktiven Beiträge, die neuer sind als XXX Tage anzuzeigen, gebe hier einen Wert ein.<br />0 (Null) für keine Beschränkung.<br /><b>Note: Standardwert für neue Foren = 0</b>',
</add before>

<edit file>
Languages/German_Du/MessageIndex.lng
</edit file>

<search for>
);

%messageindex_sort = (
</search for>

<add before>
'chopshow' => 'Zeige alle Themen',
'chop' => q~Zeige letzte aktive Themen~,
'choptitle' => 'Nicht mehr als {yabb chopdays} Tage alt',
</add before> 


  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Hide Old Threads
Jun 21st, 2014 at 12:35am
Print Post  
This mod adds allows Admins to hide old inactive threads in the Message Index and creates a button so Users can choose to see them.

Should be useful for BIG Boards

Version History
---------------
0. alpha - July 8, 2014 - fixed button issue
0.3 alpha - June 23, 2014 - fixed 0 days issue.
0.2 alpha - June 22, 2014
0.1 alpha - First release - June 20, 2014

For YaBB 2.6.0

Instructions:

Apply the mod and upload (in ASCII mode):

cgi-bin/yabb2/Admin/Modlist.pm
cgi-bin/yabb2/Admin/ManageBoards.pm
cgi-bin/yabb2/Languages/English/Admin.lng
cgi-bin/yabb2/Languages/English/MessageIndex.lng
cgi-bin/yabb2/Sources/Load.pm
cgi-bin/yabb2/Sources/MessageIndex.pm
cgi-bin/yabb2/Templates/default/Menu.def
cgi-bin/yabb2/Templates/default/MessageIndex.template

Upload eye_minus.png and eye_plus.png to yabbfiles/Templates/Forum/default

In the Admin Center -> ManageBoards set the number of days after which inactive threads will be hidden. If no number is set, all threads will be shown.

Package also contains:
hot_German_ANSI.mod
hot_German_utf8.mod
hot_German_du_ANSI.mod
hot_German_du_utf8.mod

Choose the encoding appropriate for your installation - ANSI for upgraded forums, utf8 for new forums.
« Last Edit: Jul 8th, 2014 at 10:44pm by Dandello »  

hide_old_threads_yabb260_4.zip (Attachment deleted | 30 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint